import 'package:flutter/material.dart';
import 'dart:math';

class TopData extends ChangeNotifier {
  String _name="";

  String _age = "";

  get name => _name;

  get age => _age;

  setData(String name, String age) {
    _name = name;
    _age = age;
    notifyListeners();
  }
}
